<!--
  @author yangjiangming
  @date 2018-12-11 14:32:39
-->
<!DOCTYPE html SYSTEM "http://www.thymeleaf.org/dtd/xhtml1-strict-thymeleaf-4.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:th="http://www.thymeleaf.org">
<head>
</head>
<body>
    <div class="operator-panel" id="operator-panel" th:fragment="operatePanel">
        <button class="layui-btn layui-btn-primary layui-btn-sm"
                th:each="op : ${operateList}"
                data-th-data-id="${op.id}"
                th:text="${op.name}"
                th:classappend="${op.canOperate ? '' : 'layui-btn-disabled'}">
        </button>
    </div>
</body>
</html>